<?php
<object class="route_job_loc_list" name="route_job_loc_list" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Location</property>
  <property name="DocType">dtNone</property>
  <property name="Height">155</property>
  <property name="IsMaster">0</property>
  <property name="Name">route_job_loc_list</property>
  <property name="UseAjax">1</property>
  <property name="Width">595</property>
  <property name="OnCreate">route_job_loc_listCreate</property>
  <property name="jsOnLoad">route_job_loc_listJSLoad</property>
  <object class="JTPlatinumGrid" name="JGridLocation" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="CellData">a:0:{}</property>
    <property name="Columns">a:0:{}</property>
    <property name="EvenRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="Header">
        <property name="FilterDelay">0</property>
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
        <property name="ShowFilterBar">0</property>
        <property name="ShowGroupBar">0</property>
        <property name="SimpleFilter">0</property>
    </property>
    <property name="Height">155</property>
    <property name="Name">JGridLocation</property>
    <property name="OddRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="Pager">
        <property name="RowsPerPage">6</property>
        <property name="ShowPageInfo">0</property>
        <property name="ShowRecordCount">0</property>
        <property name="ShowTopPager">0</property>
        <property name="VisiblePageCount">6</property>
    </property>
    <property name="RowDataStyles">a:0:{}</property>
    <property name="SelectedRowStyle">
        <property name="Font"><![CDATA[a:9:{s:6:&quot;Family&quot;;s:0:&quot;&quot;;s:4:&quot;Size&quot;;s:0:&quot;&quot;;s:10:&quot;LineHeight&quot;;s:0:&quot;&quot;;s:5:&quot;Style&quot;;s:0:&quot;&quot;;s:4:&quot;Case&quot;;s:0:&quot;&quot;;s:7:&quot;Variant&quot;;s:0:&quot;&quot;;s:5:&quot;Color&quot;;s:0:&quot;&quot;;s:5:&quot;Align&quot;;s:6:&quot;taNone&quot;;s:6:&quot;Weight&quot;;s:0:&quot;&quot;;}]]></property>
    </property>
    <property name="ShowSelectColumn">0</property>
    <property name="SiteTheme"></property>
    <property name="Width">595</property>
    <property name="OnShow">JGridLocationShow</property>
    <property name="jsOnDataLoad">JGridLocationJSDataLoad</property>
  </object>
  <object class="HiddenField" name="hiddenType" >
    <property name="Height">18</property>
    <property name="Left">88</property>
    <property name="Name">hiddenType</property>
    <property name="Top">40</property>
    <property name="Width">100</property>
  </object>
  <object class="HiddenField" name="hiddenJobId" >
    <property name="Height">18</property>
    <property name="Left">88</property>
    <property name="Name">hiddenJobId</property>
    <property name="Top">64</property>
    <property name="Width">100</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code">function showEdit(loc_id,loc_numbering)
{		
parent.document.getElementById('hiddenLocId').value = loc_id;
parent.document.getElementById('hiddenDefault').value = 'e';	
parent.showDefault(loc_id,loc_numbering);
//parent.document.getElementById('JTDivUpdateLocation').Show();	
//return false;
}</property>
    <property name="Height">20</property>
    <property name="Left">136</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">112</property>
    <property name="Width">172</property>
  </object>
  <object class="HiddenField" name="hiddenLocId" >
    <property name="Height">18</property>
    <property name="Left">88</property>
    <property name="Name">hiddenLocId</property>
    <property name="Top">88</property>
    <property name="Width">100</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function js_deleteLoc(loc_id) 
{	  
var type = document.getElementById('hiddenType').value;
var answer = confirm(&quot;Are you sure you want to delete this record?&quot;);  
if(answer)  
{
if(type=='c')
{
 parent.autofill('add');
}
if(type=='e')
{
 parent.autofill('edit');
}
window.location = &quot;veh_loc_delete.php?loc_id=&quot;+loc_id;
}  
else  
{  
window.location = &quot;route_job_loc_list.php?type=&quot;+type;
}
}]]></property>
    <property name="Height">20</property>
    <property name="Left">337</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">112</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="hfNumbering" >
    <property name="Height">18</property>
    <property name="Left">200</property>
    <property name="Name">hfNumbering</property>
    <property name="Top">64</property>
    <property name="Width">100</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">384</property>
        <property name="Top">16</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
